import request from "assets/utils/request";
import {
  Loading,
} from 'quasar'
export const updateDocContent = data => {
    return request({
        method: 'post',
        url: '/doc/updateDocContent',
        data
    })
}
export const addDoc = data => {
    return request({
        method: 'post',
        url: '/doc/addDoc',
        data
    })
}
export const deleteDoc = data => {
    return request({
        method: 'post',
        url: '/doc/deleteDoc',
        data
    })
}
export const loadDocList = data => {
    return request({
        method: 'post',
        url: '/doc/loadDocList',
        data
    })
}
export const loadDoc = data => {
  Loading.show()
    return request({
        method: 'post',
        url: '/doc/loadDoc',
        data
    })
}
